package com.aeert.streamquery.dao;

import com.aeert.streamquery.entity.ArticleEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.cursor.Cursor;

import java.awt.*;

/**
 * 文章
 *
 * @author zsj
 * @date 2020-12-22 19:44:32
 */
@Mapper
public interface ArticleDao extends BaseMapper<ArticleEntity> {

    @Select("SELECT * FROM tb_article")
    Cursor<ArticleEntity> queryByCursor();

}
